package com.ruoyi.meeting.domain;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会议参会人员对象 sys_meeting_attendee
 * 
 * @author ruoyi
 * @date 2025-01-27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_meeting_attendee")
public class SysMeetingAttendee extends BaseEntity implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 会议ID */
    @Excel(name = "会议ID")
    private Long meetingId;

    /** 参会人员ID */
    @Excel(name = "参会人员ID")
    private Long membersId;

    /** 参会状态（0未签到 1已签到 2请假 3缺席） */
    @Excel(name = "参会状态", readConverterExp = "0=未签到,1=已签到,2=请假,3=缺席")
    private String attendStatus;

    /** 签到时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "签到时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date signTime;

    /** 会员姓名 */
    private String membersName;

    /** 会员工号 */
    private Long membersNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setMeetingId(Long meetingId) 
    {
        this.meetingId = meetingId;
    }

    public Long getMeetingId() 
    {
        return meetingId;
    }

    public void setMembersId(Long membersId) 
    {
        this.membersId = membersId;
    }

    public Long getMembersId() 
    {
        return membersId;
    }

    public void setAttendStatus(String attendStatus) 
    {
        this.attendStatus = attendStatus;
    }

    public String getAttendStatus() 
    {
        return attendStatus;
    }

    public void setSignTime(Date signTime) 
    {
        this.signTime = signTime;
    }

    public Date getSignTime() 
    {
        return signTime;
    }

    public String getMembersName() 
    {
        return membersName;
    }

    public void setMembersName(String membersName) 
    {
        this.membersName = membersName;
    }

    public Long getMembersNum() 
    {
        return membersNum;
    }

    public void setMembersNum(Long membersNum) 
    {
        this.membersNum = membersNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("meetingId", getMeetingId())
            .append("membersId", getMembersId())
            .append("attendStatus", getAttendStatus())
            .append("signTime", getSignTime())
            .toString();
    }
}
